package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.PageBean;
import pcjavanet.mobilesell.model.Storehouse;
import pcjavanet.mobilesell.model.StorehouseExample;

public interface StorehouseMapper {
    int countByExample(StorehouseExample example);

    int deleteByExample(StorehouseExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Storehouse record);

    int insertSelective(Storehouse record);

    List<Storehouse> selectByExample(StorehouseExample example);

    Storehouse selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Storehouse record, @Param("example") StorehouseExample example);

    int updateByExample(@Param("record") Storehouse record, @Param("example") StorehouseExample example);

    int updateByPrimaryKeySelective(Storehouse record);

    int updateByPrimaryKey(Storehouse record);

    List<Storehouse> getOnePageBeans(@Param("example") StorehouseExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") StorehouseExample example, @Param("pageBean") PageBean pageBean);

    List<Storehouse> selectByExamplePage(@Param("example") StorehouseExample example, @Param("pageBean") PageBean pageBean);
}